import { createApp } from 'vue';
import App from './App';
import './registerServiceWorker';
import router from './router';
import store from './store';
import ECharts from 'vue-echarts';
import ElementPlus from 'element-plus';
import zhCn from 'element-plus/es/locale/lang/zh-cn';
import 'element-plus/packages/theme-chalk/src/index.scss';
import './defaultStyle.scss';

const app = createApp(App);
app.component('v-chart', ECharts);
app.use(ElementPlus, {
  locale: zhCn,
});
app.use(store).use(router).mount('#app');
